package com.dsg.entity.apply;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 公司申請資料
 * </p>
 *
 * @author system
 * @since 2020-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_apply_com")
@ApiModel(value = "DsgApplyCom对象", description = "公司申請資料")
public class DsgApplyCom implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "通訊地址/聯絡人")
    @TableField(exist = false)
    private List<DsgApplyContact> contactList;

    @ApiModelProperty(value = "通訊地址")
    @TableField("ADDR")
    private String addr;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "客戶狀態")
    @TableField("CUS_STATUS")
    private Integer cusStatus;

    @ApiModelProperty(value = "申請單號")
    @TableField("MAIN_NO")
    private String mainNo;

    @ApiModelProperty(value = "申请单号")
    @TableField("APP_NO")
    private String appNo;

    @ApiModelProperty(value = "公司編號")
    @TableField("COM_NO")
    private String comNo;

    @ApiModelProperty(value = "公司類型")
    @TableField("COM_TYPE")
    private Integer comType;

    @ApiModelProperty(value = "中文名稱")
    @TableField("COM_CN_NAME")
    private String comCnName;

    @ApiModelProperty(value = "英文名稱")
    @TableField("COM_EN_NAME")
    private String comEnName;

    @ApiModelProperty(value = "商業登記證編號")
    @TableField("COM_BRC_NO")
    private String comBrcNo;

    @ApiModelProperty(value = "是否香港商業登錄證")
    @TableField("COM_BRC_IS")
    private Integer comBrcIs;

    @ApiModelProperty(value = "公司電話")
    @TableField("COM_TEL")
    private String comTel;

    @ApiModelProperty(value = "電郵")
    @TableField("COM_MAIL")
    private String comMail;

    @ApiModelProperty(value = "核对状态")
    @TableField("VERIFY")
    private Integer verify;


    /**
     * 创建人
     */
    @TableField(value = "CREATER")
    @ApiModelProperty(value = "创建人", name = "creater")
    private String creater;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATER")
    @ApiModelProperty(value = "更新人", name = "updater")
    private String updater;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    /**
     * 企業編號
     */
    @TableField(value = "ENT_CODE")
    @ApiModelProperty(value = "企業編號", name = "entCode")
    private String entCode;

    /** 未核对 */
    public static final Integer VERIFY_NO = 0;
    /** 完成核对 */
    public static final Integer VERIFY_YES = 1;
}
